package com.hyopt.modules.app.form;

import com.hyopt.modules.app.entity.AlarmPhotoEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author liubin
 * @date 2020/1/6 16:40
 */
@ApiModel(value = "警报修改表单")
@Data
public class AlarmInfoForm {

  private String DefenceNo;

  private Date AlarmDate;

  private Integer AlarmCode;

  private Integer AlarmLevel;

  private Integer AlarmStatus;

  private Integer OperateResult;

  @NotBlank
  private Integer Id;

  private String AlarmDetail;

  private String OperateDesc;

  private String Operator;

  private String FiberChannel;

  private BigDecimal Latitude;

  private BigDecimal Longitude;

  /**
   * 持续时间
   */
  private BigDecimal AlarmDuration;

  @NotBlank
  private Integer uid;



  /**
   * 处理抓拍图片
   */
  private List<AlarmPhotoEntity> photo;
}
